<!--
 * @Descripttion: 
 * @version: 
 * @Author: QYFeng
 * @Date: 2021-05-15 19:12:46
 * @LastEditors: QYFeng
 * @LastEditTime: 2021-05-16 14:25:24
-->
<template>
  <div id="app">
    <meta name="referrer" content="no-referrer">
    <headers @searchSon="search" />
    <router-view :_keyword="keyword" />
    <footers />
  </div>
</template>
<script>
import headers from "@/components/header.vue";
import footers from "@/components/footer.vue";
export default {
  name: "app",
  components: {
    headers,
    footers,
  },
  data () {
    return {
      keyword:'',//搜索关键词
    }
  },
  methods: {
    search(keyword){
      this.keyword = keyword;
    }
  }
};
</script>
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  max-width: 1920px;
  min-width: 1200px;
  margin: 0 auto;
  background: #F5F5F5;
}

.main {
  padding-top: 98px;
  max-width: 1920px;
  min-width: 1200px;
  margin: 0 auto;
}
</style>
